﻿namespace Web.Control.WWW.Contacts
{
    using System;
    using System.Data;
    using System.Configuration;
    using System.Web;
    using System.Web.Security;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Web.UI.WebControls.WebParts;
    using System.Web.UI.HtmlControls;

    using Lx.Web.Common.ControlsUI;
    using Lx.Web.Common.UI;
    using Model.WWW_User.User;
    using BLF.WWW_User.Users;

    /// <summary>
    /// InviteFriends 的摘要说明
    /// </summary>
    public class Invite : BaseControl
    {
        private string memberno = "";
        protected UserModel bum;

        protected override void OnLoad(EventArgs e)
        {
            Page.Session["setp"] = null;
            memberno = HttpContext.Current.User.Identity.Name;
            if (memberno == "")
            {
                Page.Response.Redirect("/user/login.htm?ReturnUrl=" + Page.Request.Url.AbsoluteUri);
                return;
            }
            bum = User.GetDetailUserInfo(memberno);
            base.OnLoad(e);
        }
    }
}
